package com.base.cn.platform.os.dao.classes.topic.reply;

import com.base.cn.platform.os.common.mybatis.BaseDao;
import com.base.cn.platform.os.common.mybatis.Pagination;
import com.base.cn.platform.os.entity.classes.topic.reply.ClassesTopicReply;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 班级话题回复
 *
 * @author SK
 * @since 2018-05-21
 */
@Mapper
public interface ClassesTopicReplyDao extends BaseDao<ClassesTopicReply> {

    PageInfo<ClassesTopicReply> findClassesTopicReplyPageWithDistinct(@Param("clazz") Class<ClassesTopicReply> clazz,
                                                                      @Param("where") String where,
                                                                      @Param("page")Pagination pagination,
                                                                      @Param("columns") List<String> columns);

}
